package fr.chatellier.onlinemanager.client;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import fr.chatellier.onlinemanager.client.data.EventClient;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("greet")
public interface EventService extends RemoteService {
	
	void saveEvent(EventClient event);
	
	List<EventClient> getEvents();

}
